//! A simple HTTP forward proxy server library built with Tokio
//!
//! This library provides a lightweight HTTP/HTTPS proxy server implementation
//! with connection pooling support for improved performance.
//!
//! # Examples
//!
//! ```no_run
//! use easy_http_proxy_server::{ProxyServer, ProxyConfig};
//! use std::net::SocketAddr;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
//!     let config = ProxyConfig {
//!         addr: "127.0.0.1:3128".parse()?,
//!         verbose: true,
//!     };
//!     
//!     let server = ProxyServer::new(config);
//!     server.run().await?;
//!     Ok(())
//! }
//! ```

mod server;
mod connection;
mod pool;
mod error;

pub use server::{ProxyServer, ProxyConfig};
pub use error::ProxyError;
pub use pool::ConnectionPool;

pub type Result<T> = std::result::Result<T, ProxyError>;